/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						       dialog_resurrect.h

	$Header: /game/dialog_resurrect.h $

	$NoKeywords: $

 ************************************************************************/

#ifndef DIALOG_RESURRECT_H_INCLUDED
#define DIALOG_RESURRECT_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include <vector>
#include "bitmap_group_ptr.h"
#include "game_window.h"

class t_button;
class t_creature_select_window;
class t_creature_stack;
class t_hero;
class t_player;
class t_text_window;

// -------------------------------------------------------------------
// dialog to choose resurrection targets
// -------------------------------------------------------------------
class t_dialog_resurrect : public t_window
{
public:
	t_dialog_resurrect( t_window* parent, std::vector<t_hero*>& heroes, t_player* player );
protected:
	void buy_clicked( t_button* button );
	void close_clicked( t_button* button );
    void selection_change( t_creature_select_window*, t_creature_stack* );

	t_bitmap_group_ptr          m_bitmaps;
	t_button*                   m_buy_button;
	t_text_window*              m_cost_window;
	int						    m_current_cost;
	t_creature_select_window*   m_hero_selection_window;
	t_bitmap_group_ptr			m_material_bitmaps;
	t_player *			        m_player;
};

#endif // DIALOG_RESURRECT_H_INCLUDED